package com.neusoft.feign;

import com.neusoft.po.Dept;
import com.neusoft.po.ResponseBean;
import org.springframework.stereotype.Component;

@Component
public class DeptFeignError implements DeptFeignClient{
    @Override
    public ResponseBean<Dept> getDeptByNo(Integer deptno) {
        return new ResponseBean<>(700,"后端服务节点异常");
    }
}
